package com.gao.qualifiers;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * @author GaoXi
 * @date 2022/2/24 20:18
 */
@Component
public class FieldDemo {
    @Autowired
    @Qualifier("testBean1")
    private TestBean testBean;

}
